var gulp = require('gulp');
var fs = require('fs');
var path = require('path');

//注册
var deep = 3;
run_tasks('_tasks');
function run_tasks(tasks_path) {
	tasks_path = path.join('../', tasks_path);
	if(fs.existsSync(tasks_path)) {
		require(tasks_path)(gulp);
	} else {
		run_tasks(tasks_path);
	}
}